package com.gzhryc.shared_device.iot.core;

import java.io.Serializable;

public abstract class IOTSynResponse implements Serializable{

	private static final long serialVersionUID = 1L;

	public abstract Boolean isSuccess();
	
	public abstract Boolean isTimeout();
	
	public abstract Integer getCode();
	
	public abstract<T extends IOTMessage> T getMessage(Class<T> Clazz);
	
	public abstract IOTMessage getMessage();
}
